package com.milepost.workflow.flowdefform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.milepost.workflow.flowdefform.entity.FlowDefFormEntity;

/**
 * @author huarf
 * @Description
 * @create 2022-03-26 16:37
 */
public interface FlowDefFormService extends IService<FlowDefFormEntity> {

    /**
     * 创建流程表单
     * @param flowDefFormEntity
     * @return
     */
    boolean createFlowDefForm(FlowDefFormEntity flowDefFormEntity);

    /**
     * 根据流程定义id获取流程表单
     * @param flowDefId
     * @return
     */
    FlowDefFormEntity getByFlowDefId(String flowDefId);

}
